package com.yz.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * Created With IntelliJ IDEA.
 * Descriptions:
 * <p>
 * User:Mr.Du
 * Date:2024/3/18
 * Time:17:31
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "yz.mail")
public class MailProperties {

    /**
     * 发件人
     */
    private String from;

    /**
     * 发件人昵称
     */
    private String personal;

    /**
     * 抄送人
     */
    private String bcc;

    /**
     * 主题
     */
    private String subject;


}
